FROM java:8
VOLUME /tmp
ADD subscription-push-0.0.1.jar push.jar       
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/push.jar"] 
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
